# Makefile.in generated automatically by automake 1.4-p6 from Makefile.am

# Copyright (C) 1994, 1995-8, 1999, 2001 Free Software Foundation, Inc.
# This Makefile.in is free software; the Free Software Foundation
# gives unlimited permission to copy and/or distribute it,
# with or without modifications, as long as this notice is preserved.

# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY, to the extent permitted by law; without
# even the implied warranty of MERCHANTABILITY or FITNESS FOR A
# PARTICULAR PURPOSE.

# Process this file with automake to produce Makefile.in
#
# $Id: Makefile.am,v 1.1.1.1 2004/06/11 18:57:27 satoru-t Exp $
#


SHELL = @SHELL@

srcdir = @srcdir@
top_srcdir = @top_srcdir@
VPATH = @srcdir@
prefix = @prefix@
exec_prefix = @exec_prefix@

bindir = @bindir@
sbindir = @sbindir@
libexecdir = @libexecdir@
datadir = @datadir@
sysconfdir = @sysconfdir@
sharedstatedir = @sharedstatedir@
localstatedir = @localstatedir@
libdir = @libdir@
infodir = @infodir@
mandir = @mandir@
includedir = @includedir@
oldincludedir = /usr/include

DESTDIR =

pkgdatadir = $(datadir)/@PACKAGE@
pkglibdir = $(libdir)/@PACKAGE@
pkgincludedir = $(includedir)/@PACKAGE@

top_builddir = ..

ACLOCAL = @ACLOCAL@
AUTOCONF = @AUTOCONF@
AUTOMAKE = @AUTOMAKE@
AUTOHEADER = @AUTOHEADER@

INSTALL = @INSTALL@
INSTALL_PROGRAM = @INSTALL_PROGRAM@ $(AM_INSTALL_PROGRAM_FLAGS)
INSTALL_DATA = @INSTALL_DATA@
INSTALL_SCRIPT = @INSTALL_SCRIPT@
transform = @program_transform_name@

NORMAL_INSTALL = :
PRE_INSTALL = :
POST_INSTALL = :
NORMAL_UNINSTALL = :
PRE_UNINSTALL = :
POST_UNINSTALL = :
host_alias = @host_alias@
host_triplet = @host@
AR = @AR@
AS = @AS@
CC = @CC@
COPYRIGHT = @COPYRIGHT@
CXX = @CXX@
CXXCPP = @CXXCPP@
DLLTOOL = @DLLTOOL@
ECHO = @ECHO@
EGREP = @EGREP@
EXEEXT = @EXEEXT@
F77 = @F77@
GCJ = @GCJ@
GCJFLAGS = @GCJFLAGS@
GLIB_CFLAGS = @GLIB_CFLAGS@
GLIB_CONFIG = @GLIB_CONFIG@
GLIB_GENMARSHAL = @GLIB_GENMARSHAL@
GLIB_LIBS = @GLIB_LIBS@
GLIB_MKENUMS = @GLIB_MKENUMS@
GOBJECT_QUERY = @GOBJECT_QUERY@
HAVE_LIB = @HAVE_LIB@
LIB = @LIB@
LIBTOOL = @LIBTOOL@
LN_S = @LN_S@
LTLIB = @LTLIB@
LTVERSION = @LTVERSION@
MAINT = @MAINT@
MAKEINFO = @MAKEINFO@
OBJDUMP = @OBJDUMP@
OBJEXT = @OBJEXT@
PACKAGE = @PACKAGE@
PKG_CONFIG = @PKG_CONFIG@
RANLIB = @RANLIB@
RC = @RC@
SARY_MAJOR_VERSION = @SARY_MAJOR_VERSION@
SARY_MICRO_VERSION = @SARY_MICRO_VERSION@
SARY_MINOR_VERSION = @SARY_MINOR_VERSION@
STRIP = @STRIP@
VERSION = @VERSION@

AUTOMAKE_OPTIONS = 1.4 no-dependencies

bin_PROGRAMS = sary mksary

INCLUDES = @GLIB_CFLAGS@ -DG_LOG_DOMAIN=\"Sary\" -I$(top_srcdir)
LDADD = $(top_builddir)/sary/libsary.la @GLIB_LIBS@

sary_SOURCES = sary.c getopt.h getopt.c getopt1.c

mksary_SOURCES = mksary.c getopt.h getopt.c getopt1.c

noinst_PROGRAMS = isearch-test cache-test cat-test cat-test2 			search-benchmark repeated-test multi-test


cache_test_SOURCES = cache-test.c

cat_test_SOURCES = cat-test.c

cat_test2_SOURCES = cat-test2.c

isearch_test_SOURCES = isearch-test.c

repeated_test_SOURCES = repeated-test.c

search_benchmark_SOURCES = search-benchmark.c 				getopt.h getopt.c getopt1.c


multi_test_SOURCES = multi-test.c
mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
CONFIG_HEADER = ../config.h
CONFIG_CLEAN_FILES = 
bin_PROGRAMS =  sary$(EXEEXT) mksary$(EXEEXT)
noinst_PROGRAMS =  isearch-test$(EXEEXT) cache-test$(EXEEXT) \
cat-test$(EXEEXT) cat-test2$(EXEEXT) search-benchmark$(EXEEXT) \
repeated-test$(EXEEXT) multi-test$(EXEEXT)
PROGRAMS =  $(bin_PROGRAMS) $(noinst_PROGRAMS)


DEFS = @DEFS@ -I. -I$(srcdir) -I..
CPPFLAGS = @CPPFLAGS@
LDFLAGS = @LDFLAGS@
LIBS = @LIBS@
sary_OBJECTS =  sary.$(OBJEXT) getopt.$(OBJEXT) getopt1.$(OBJEXT)
sary_LDADD = $(LDADD)
sary_DEPENDENCIES =  $(top_builddir)/sary/libsary.la
sary_LDFLAGS = 
mksary_OBJECTS =  mksary.$(OBJEXT) getopt.$(OBJEXT) getopt1.$(OBJEXT)
mksary_LDADD = $(LDADD)
mksary_DEPENDENCIES =  $(top_builddir)/sary/libsary.la
mksary_LDFLAGS = 
isearch_test_OBJECTS =  isearch-test.$(OBJEXT)
isearch_test_LDADD = $(LDADD)
isearch_test_DEPENDENCIES =  $(top_builddir)/sary/libsary.la
isearch_test_LDFLAGS = 
cache_test_OBJECTS =  cache-test.$(OBJEXT)
cache_test_LDADD = $(LDADD)
cache_test_DEPENDENCIES =  $(top_builddir)/sary/libsary.la
cache_test_LDFLAGS = 
cat_test_OBJECTS =  cat-test.$(OBJEXT)
cat_test_LDADD = $(LDADD)
cat_test_DEPENDENCIES =  $(top_builddir)/sary/libsary.la
cat_test_LDFLAGS = 
cat_test2_OBJECTS =  cat-test2.$(OBJEXT)
cat_test2_LDADD = $(LDADD)
cat_test2_DEPENDENCIES =  $(top_builddir)/sary/libsary.la
cat_test2_LDFLAGS = 
search_benchmark_OBJECTS =  search-benchmark.$(OBJEXT) getopt.$(OBJEXT) \
getopt1.$(OBJEXT)
search_benchmark_LDADD = $(LDADD)
search_benchmark_DEPENDENCIES =  $(top_builddir)/sary/libsary.la
search_benchmark_LDFLAGS = 
repeated_test_OBJECTS =  repeated-test.$(OBJEXT)
repeated_test_LDADD = $(LDADD)
repeated_test_DEPENDENCIES =  $(top_builddir)/sary/libsary.la
repeated_test_LDFLAGS = 
multi_test_OBJECTS =  multi-test.$(OBJEXT)
multi_test_LDADD = $(LDADD)
multi_test_DEPENDENCIES =  $(top_builddir)/sary/libsary.la
multi_test_LDFLAGS = 
CFLAGS = @CFLAGS@
COMPILE = $(CC) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
LTCOMPILE = $(LIBTOOL) --mode=compile $(CC) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
CCLD = $(CC)
LINK = $(LIBTOOL) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(LDFLAGS) -o $@
DIST_COMMON =  Makefile.am Makefile.in


DISTFILES = $(DIST_COMMON) $(SOURCES) $(HEADERS) $(TEXINFOS) $(EXTRA_DIST)

TAR = tar
GZIP_ENV = --best
SOURCES = $(sary_SOURCES) $(mksary_SOURCES) $(isearch_test_SOURCES) $(cache_test_SOURCES) $(cat_test_SOURCES) $(cat_test2_SOURCES) $(search_benchmark_SOURCES) $(repeated_test_SOURCES) $(multi_test_SOURCES)
OBJECTS = $(sary_OBJECTS) $(mksary_OBJECTS) $(isearch_test_OBJECTS) $(cache_test_OBJECTS) $(cat_test_OBJECTS) $(cat_test2_OBJECTS) $(search_benchmark_OBJECTS) $(repeated_test_OBJECTS) $(multi_test_OBJECTS)

all: all-redirect
.SUFFIXES:
.SUFFIXES: .S .c .lo .o .obj .s
$(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4) 
	cd $(top_srcdir) && $(AUTOMAKE) --gnu src/Makefile

Makefile: $(srcdir)/Makefile.in  $(top_builddir)/config.status
	cd $(top_builddir) \
	  && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status


mostlyclean-binPROGRAMS:

clean-binPROGRAMS:
	-test -z "$(bin_PROGRAMS)" || rm -f $(bin_PROGRAMS)

distclean-binPROGRAMS:

maintainer-clean-binPROGRAMS:

install-binPROGRAMS: $(bin_PROGRAMS)
	@$(NORMAL_INSTALL)
	$(mkinstalldirs) $(DESTDIR)$(bindir)
	@list='$(bin_PROGRAMS)'; for p in $$list; do \
	  if test -f $$p; then \
	    echo " $(LIBTOOL)  --mode=install $(INSTALL_PROGRAM) $$p $(DESTDIR)$(bindir)/`echo $$p|sed 's/$(EXEEXT)$$//'|sed '$(transform)'|sed 's/$$/$(EXEEXT)/'`"; \
	    $(LIBTOOL)  --mode=install $(INSTALL_PROGRAM) $$p $(DESTDIR)$(bindir)/`echo $$p|sed 's/$(EXEEXT)$$//'|sed '$(transform)'|sed 's/$$/$(EXEEXT)/'`; \
	  else :; fi; \
	done

uninstall-binPROGRAMS:
	@$(NORMAL_UNINSTALL)
	list='$(bin_PROGRAMS)'; for p in $$list; do \
	  rm -f $(DESTDIR)$(bindir)/`echo $$p|sed 's/$(EXEEXT)$$//'|sed '$(transform)'|sed 's/$$/$(EXEEXT)/'`; \
	done

mostlyclean-noinstPROGRAMS:

clean-noinstPROGRAMS:
	-test -z "$(noinst_PROGRAMS)" || rm -f $(noinst_PROGRAMS)

distclean-noinstPROGRAMS:

maintainer-clean-noinstPROGRAMS:

.c.o:
	$(COMPILE) -c $<

# FIXME: We should only use cygpath when building on Windows,
# and only if it is available.
.c.obj:
	$(COMPILE) -c `cygpath -w $<`

.s.o:
	$(COMPILE) -c $<

.S.o:
	$(COMPILE) -c $<

mostlyclean-compile:
	-rm -f *.o core *.core
	-rm -f *.$(OBJEXT)

clean-compile:

distclean-compile:
	-rm -f *.tab.c

maintainer-clean-compile:

.c.lo:
	$(LIBTOOL) --mode=compile $(COMPILE) -c $<

.s.lo:
	$(LIBTOOL) --mode=compile $(COMPILE) -c $<

.S.lo:
	$(LIBTOOL) --mode=compile $(COMPILE) -c $<

mostlyclean-libtool:
	-rm -f *.lo

clean-libtool:
	-rm -rf .libs _libs

distclean-libtool:

maintainer-clean-libtool:

sary$(EXEEXT): $(sary_OBJECTS) $(sary_DEPENDENCIES)
	@rm -f sary$(EXEEXT)
	$(LINK) $(sary_LDFLAGS) $(sary_OBJECTS) $(sary_LDADD) $(LIBS)

mksary$(EXEEXT): $(mksary_OBJECTS) $(mksary_DEPENDENCIES)
	@rm -f mksary$(EXEEXT)
	$(LINK) $(mksary_LDFLAGS) $(mksary_OBJECTS) $(mksary_LDADD) $(LIBS)

isearch-test$(EXEEXT): $(isearch_test_OBJECTS) $(isearch_test_DEPENDENCIES)
	@rm -f isearch-test$(EXEEXT)
	$(LINK) $(isearch_test_LDFLAGS) $(isearch_test_OBJECTS) $(isearch_test_LDADD) $(LIBS)

cache-test$(EXEEXT): $(cache_test_OBJECTS) $(cache_test_DEPENDENCIES)
	@rm -f cache-test$(EXEEXT)
	$(LINK) $(cache_test_LDFLAGS) $(cache_test_OBJECTS) $(cache_test_LDADD) $(LIBS)

cat-test$(EXEEXT): $(cat_test_OBJECTS) $(cat_test_DEPENDENCIES)
	@rm -f cat-test$(EXEEXT)
	$(LINK) $(cat_test_LDFLAGS) $(cat_test_OBJECTS) $(cat_test_LDADD) $(LIBS)

cat-test2$(EXEEXT): $(cat_test2_OBJECTS) $(cat_test2_DEPENDENCIES)
	@rm -f cat-test2$(EXEEXT)
	$(LINK) $(cat_test2_LDFLAGS) $(cat_test2_OBJECTS) $(cat_test2_LDADD) $(LIBS)

search-benchmark$(EXEEXT): $(search_benchmark_OBJECTS) $(search_benchmark_DEPENDENCIES)
	@rm -f search-benchmark$(EXEEXT)
	$(LINK) $(search_benchmark_LDFLAGS) $(search_benchmark_OBJECTS) $(search_benchmark_LDADD) $(LIBS)

repeated-test$(EXEEXT): $(repeated_test_OBJECTS) $(repeated_test_DEPENDENCIES)
	@rm -f repeated-test$(EXEEXT)
	$(LINK) $(repeated_test_LDFLAGS) $(repeated_test_OBJECTS) $(repeated_test_LDADD) $(LIBS)

multi-test$(EXEEXT): $(multi_test_OBJECTS) $(multi_test_DEPENDENCIES)
	@rm -f multi-test$(EXEEXT)
	$(LINK) $(multi_test_LDFLAGS) $(multi_test_OBJECTS) $(multi_test_LDADD) $(LIBS)

tags: TAGS

ID: $(HEADERS) $(SOURCES) $(LISP)
	list='$(SOURCES) $(HEADERS)'; \
	unique=`for i in $$list; do echo $$i; done | \
	  awk '    { files[$$0] = 1; } \
	       END { for (i in files) print i; }'`; \
	here=`pwd` && cd $(srcdir) \
	  && mkid -f$$here/ID $$unique $(LISP)

TAGS:  $(HEADERS) $(SOURCES)  $(TAGS_DEPENDENCIES) $(LISP)
	tags=; \
	here=`pwd`; \
	list='$(SOURCES) $(HEADERS)'; \
	unique=`for i in $$list; do echo $$i; done | \
	  awk '    { files[$$0] = 1; } \
	       END { for (i in files) print i; }'`; \
	test -z "$(ETAGS_ARGS)$$unique$(LISP)$$tags" \
	  || (cd $(srcdir) && etags -o $$here/TAGS $(ETAGS_ARGS) $$tags  $$unique $(LISP))

mostlyclean-tags:

clean-tags:

distclean-tags:
	-rm -f TAGS ID

maintainer-clean-tags:

distdir = $(top_builddir)/$(PACKAGE)-$(VERSION)/$(subdir)

subdir = src

distdir: $(DISTFILES)
	@for file in $(DISTFILES); do \
	  d=$(srcdir); \
	  if test -d $$d/$$file; then \
	    cp -pr $$d/$$file $(distdir)/$$file; \
	  else \
	    test -f $(distdir)/$$file \
	    || ln $$d/$$file $(distdir)/$$file 2> /dev/null \
	    || cp -p $$d/$$file $(distdir)/$$file || :; \
	  fi; \
	done
info-am:
info: info-am
dvi-am:
dvi: dvi-am
check-am: all-am
check: check-am
installcheck-am:
installcheck: installcheck-am
install-exec-am: install-binPROGRAMS
install-exec: install-exec-am

install-data-am:
install-data: install-data-am

install-am: all-am
	@$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
install: install-am
uninstall-am: uninstall-binPROGRAMS
uninstall: uninstall-am
all-am: Makefile $(PROGRAMS)
all-redirect: all-am
install-strip:
	$(MAKE) $(AM_MAKEFLAGS) AM_INSTALL_PROGRAM_FLAGS=-s install
installdirs:
	$(mkinstalldirs)  $(DESTDIR)$(bindir)


mostlyclean-generic:

clean-generic:

distclean-generic:
	-rm -f Makefile $(CONFIG_CLEAN_FILES)
	-rm -f config.cache config.log stamp-h stamp-h[0-9]*

maintainer-clean-generic:
mostlyclean-am:  mostlyclean-binPROGRAMS mostlyclean-noinstPROGRAMS \
		mostlyclean-compile mostlyclean-libtool \
		mostlyclean-tags mostlyclean-generic

mostlyclean: mostlyclean-am

clean-am:  clean-binPROGRAMS clean-noinstPROGRAMS clean-compile \
		clean-libtool clean-tags clean-generic mostlyclean-am

clean: clean-am

distclean-am:  distclean-binPROGRAMS distclean-noinstPROGRAMS \
		distclean-compile distclean-libtool distclean-tags \
		distclean-generic clean-am
	-rm -f libtool

distclean: distclean-am

maintainer-clean-am:  maintainer-clean-binPROGRAMS \
		maintainer-clean-noinstPROGRAMS \
		maintainer-clean-compile maintainer-clean-libtool \
		maintainer-clean-tags maintainer-clean-generic \
		distclean-am
	@echo "This command is intended for maintainers to use;"
	@echo "it deletes files that may require special tools to rebuild."

maintainer-clean: maintainer-clean-am

.PHONY: mostlyclean-binPROGRAMS distclean-binPROGRAMS clean-binPROGRAMS \
maintainer-clean-binPROGRAMS uninstall-binPROGRAMS install-binPROGRAMS \
mostlyclean-noinstPROGRAMS distclean-noinstPROGRAMS \
clean-noinstPROGRAMS maintainer-clean-noinstPROGRAMS \
mostlyclean-compile distclean-compile clean-compile \
maintainer-clean-compile mostlyclean-libtool distclean-libtool \
clean-libtool maintainer-clean-libtool tags mostlyclean-tags \
distclean-tags clean-tags maintainer-clean-tags distdir info-am info \
dvi-am dvi check check-am installcheck-am installcheck install-exec-am \
install-exec install-data-am install-data install-am install \
uninstall-am uninstall all-redirect all-am all installdirs \
mostlyclean-generic distclean-generic clean-generic \
maintainer-clean-generic clean mostlyclean distclean maintainer-clean


# Memory leak checking. It requires mpatrol 
# <http://www.cbmamiga.demon.co.uk/mpatrol/>
# LDFLAGS is set for Linux.
mleak-check:
	@echo -n "recompiling for memory leak checking: "
	@cd .. && make clean  >/dev/null 2>&1 && \
	make LDFLAGS='-lmpatrol -lbfd -liberty' >/dev/null 2>&1
	@echo done

	@echo foo > foo

	@echo -n "checking mksary: "

	@MPATROL_OPTIONS="LOGALL PROF USEDEBUG" ./mksary -b0 foo >/dev/null

	@# Ignore memory leaks caused by pthread_create.
	@perl -n00e 'print unless /pthread_create/' \
		mpatrol.log >mpatrol2.log	
	@mleak mpatrol2.log | grep -q 'unfreed allocations: 0 ' && echo ok

	@echo -n "checking sary: "

	@MPATROL_OPTIONS="LOGALL PROF USEDEBUG" ./sary foo foo > /dev/null

	@# Ignore memory leaks caused by setlocale.
	@perl -n00e 'print unless /setlocale/' \
		mpatrol.log >mpatrol2.log	
	@mleak mpatrol2.log | grep -q 'unfreed allocations: 0 ' && echo ok

	@rm -f foo foo.ary mpatrol.log mpatrol2.log

	@echo -n "recompiling for normal use: "
	@cd .. && make clean  >/dev/null 2>&1 && make >/dev/null 2>&1
	@echo done

# Tell versions [3.59,3.63) of GNU make to not export all variables.
# Otherwise a system limit (for SysV at least) may be exceeded.
.NOEXPORT:
